package com.lds.config.center.sample.listener;

import com.lds.config.center.client.listener.Annotation.ItemChangeEventListener;
import com.lds.config.center.client.listener.ItemChangeEvent;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Slf4j
@Component
public class AnnotationItemChangeEventListener {

    @ItemChangeEventListener
    public void onChange(ItemChangeEvent event) {
        log.info("[AnnotationItemChangeEventListener] item change event:{}", event);
    }

}
